package com.guoxin.chapter3.waitnotify.stack1;


/**
 * @author guoxin
 * @date 2019年8月22日
 */
public class Consumer {
	private MyStack stack;

	public Consumer(MyStack stack) {
		super();
		this.stack = stack;
	}
	
	public void popService(){
		System.out.println("pop="+stack.pop());
	}
}
